package ac.rfr.main;


import javax.swing.SwingUtilities;
import javax.swing.UnsupportedLookAndFeelException;

import ac.notification.manager.NotificationRegistrarLite;
import ac.rfr.manager.HistoryListManager;
import ac.rfr.manager.TemplateManager;
import ac.rfr.manager.UIManager;
import ac.rfr.ui.MainWindow;
import ac.rfr.ui.UIComponentLibrary;

public class Main {
	public static void main(String[] arg) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
	{
		javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
		NotificationRegistrarLite.setLogging(true);
		UIManager uiManager = new UIManager();
		HistoryListManager historyListManager = new HistoryListManager();
		TemplateManager templateManager  = new TemplateManager();
		
		MainWindow  mainWindow = (MainWindow) UIComponentLibrary.getComponent(MainWindow.ExportedComponents.MW_MAIN_WINDOW);
		//SwingUtilities.updateComponentTreeUI(mainWindow);
		
	}
}
